Deployment and Monetization - Topic 6 Summary
1. Introduction to App Publishing
Publishing your app is the process of making it available to users, which requires careful preparation and strategic planning.
Importance of App Publishing
Three main advantages:
- Reach a wider audience: Make your app available to millions of potential users
- Generate revenue: Monetize your app through various strategies
- Gain user feedback: Collect valuable insights from real users
App Publishing Process
Three high-level steps:
- Prepare the app for release: Configure, test, and build the final version
- Release the app to users: Upload to app store or distribute through other channels
- Maintain and update your app: Respond to user feedback and release updates
2. App Releasing Strategies
Three Main Strategies
| Strategy |
Description |
Reach |
Best For |
| App Marketplace |
Publish through an app store like Google Play |
Broadest reach (millions of users) |
Most apps, especially consumer-facing |
| Website Download |
Host APK file on your own website |
Limited to website visitors |
Enterprise apps, beta testing |
| Direct Distribution |
Send APK directly to specific users |
Small group of known users |
Internal apps, testing |
Releasing Through Google Play
Google Play is the premier marketplace for Android apps with robust developer tools and global reach.
3. Preparing for Release
Five main tasks to prepare your app:
- Gather materials for release: EULA, cryptographic keys, app icon
- Configure application for release: Remove debugging, clean project
- Build application for release: Build signed release version
- Prepare remote servers: Update resources for production
- Test application for release: Test signed version thoroughly
Release Preparation Checklist
- Remove debugging logs and settings
- Configure manifest for production
- Clean and optimize project
- Build signed release APK/AAB
- Test on various devices
- Prepare promotional materials
- Set up analytics and crash reporting
4. Versioning the App
Version Information
Versioning is critical for app upgrades, maintenance, and preventing downgrades.
Version Settings in Gradle
android {
defaultConfig {
versionCode 2 // Internal version number
versionName "1.1.0" // User-visible version
}
}
versionCode vs versionName
| Property |
Type |
Purpose |
Example Values |
| versionCode |
Integer |
Internal version number for system comparison |
1, 2, 3, ... (increases monotonically) |
| versionName |
String |
User-visible version displayed in app store |
1.0.0, 1.1.0, 2.0.0, ... |
versionCode rules:
- Start with 1 for first release
- Increase monotonically with every release
- Used by Android system to prevent downgrades
- Not shown to users
versionName rules:
- Formatted as major.minor.patch
- Displayed to users in app store
- Can be descriptive (e.g., "1.0 Beta")
5. Signing the App
Signing your app is mandatory for publishing on Google Play and ensures authenticity and integrity.
Key Store Creation
Steps to create a keystore:
- Click Build > Generate Signed Bundle/APK in Android Studio
- Click "Create new..." under Key store path
- Fill in key store details:
- Key store path: Location and filename (.jks extension)
- Password: Secure password for keystore
- Alias: Identifying name for key
- Key password: Same as keystore password
- Validity: 25 years recommended
- Certificate info: Your organization details
- Click OK to create keystore
Signing Process
Steps to sign your app:
- Click Build > Generate Signed Bundle/APK
- Select Android App Bundle or APK
- Click "Choose existing..." and select your keystore
- Enter keystore password and key alias
- Enter key password
- Select destination folder and build type (release)
- Select signature versions (v1 and v2 recommended)
- Click Finish to build signed app
⚠️ Important: Never lose your keystore! If you lose it, you cannot update your app on Google Play.
6. Uploading to Google Play Store
Prerequisites
- Enroll in Google Play App Signing (mandatory since August 2021)
- Ensure app size is ≤ 150 MB (compressed)
- Create Google Play Developer account ($25 one-time fee)
- Set up Google Play Console account
Testing Methods
| Testing Method |
Description |
Use Case |
| Internal Testing |
Share with small group of testers |
Quick feedback from team members |
| Closed Testing (Alpha/Beta) |
Limited release to specific groups |
Quality assurance with real users |
| Open Testing |
Public beta release |
Wide testing with interested users |
| Production |
Full public release |
Final release to all users |
Updating Your App
Steps to update:
- Increase versionCode in build.gradle
- Build new signed app bundle
- Upload to Google Play Console
- Create new release in appropriate track
- Roll out to users gradually
7. Choosing the Right Monetization Strategy
Selecting the right monetization strategy depends on your app type, target audience, and business goals.
Five Popular Monetization Strategies
| Strategy |
Description |
Revenue Model |
Best For |
| Free and Paid Versions |
Offer both free and paid versions with different features |
Upgrades, ads |
Apps with premium features |
| In-app Purchases |
Free app with optional paid features/content |
Microtransactions |
Games, productivity apps |
| Subscription Model |
Free app with content/features requiring subscription |
Recurring revenue |
Service/content apps |
| Paid App Model |
App available only as paid download |
One-time purchase |
Premium utilities, tools |
| Partnership Model |
Monetize through brand sponsorships/partnerships |
Sponsorships, acquisitions |
Apps with large user base |
Strategy Selection Factors:
- User expectations: What monetization methods does your audience accept?
- App type: What works best for your app's functionality?
- Market competition: What are similar apps doing?
- Revenue goals: Short-term vs long-term revenue
- User base size: Small vs large audience
- Development resources: Implementation complexity
8. Google Play's Subscription Platform
Google Play's subscription platform enables recurring revenue and enhanced user engagement through automated billing.
Key Features
- Automatic billing on recurring basis
- Subscription management for users
- Free trial support
- Introductory pricing options
- Grace periods for payment issues
Subscription Types
| Type |
Billing Cycle |
Use Case |
| Monthly Subscription |
Recurring monthly |
Ongoing services |
| Annual Subscription |
Recurring annual |
Yearly services/content |
| One-time Purchase |
Single payment |
Permanent content/features |
Pricing and Free Trials
Pricing options:
- Set base price for each subscription
- Adjust based on market conditions
- Use introductory pricing to attract new users
- Set duration of free trial periods
Revenue benefits:
- Recurring revenue stream
- Customer retention
- Automated billing and management
- User-friendly subscription handling
9. Using Google AdMob
Google AdMob is a mobile advertising platform that helps app developers monetize their apps through in-app advertising.
What is Google AdMob?
- Mobile advertising platform by Google
- Enables monetization through in-app ads
- Provides insights into user behavior
- Supports various ad formats
- Integrates with Google's vast advertising network
How AdMob Works
AdMob Ad Formats
AdMob Metrics
Key metrics to track:
| Metric |
Description |
Formula |
Target Values |
| Impressions |
Number of times ad is displayed |
Total displays |
Higher is better |
| Clicks |
Number of times users click ads |
Total clicks |
Depends on ad format |
| CTR (Click Through Rate) |
Percentage of users who click ads |
(Clicks/Impressions) × 100 |
0.5% - 3% (varies by format) |
| eCPM (Effective Cost Per Mille) |
Estimated earnings per 1000 impressions |
(Total Earnings/Impressions) × 1000 |
Varies by country/category |
Optimization tips:
- Experiment with ad placements and formats
- Use A/B testing for optimal performance
- Monitor CTR and eCPM regularly
- Balance revenue with user experience
- Consider seasonality and market trends
10. Quick Reference Guide
Publishing Checklist
Before publishing:
- ✓ Remove all debugging code and logs
- ✓ Configure manifest for production
- ✓ Build signed release version
- ✓ Test on multiple devices
- ✓ Prepare promotional materials (screenshots, videos, descriptions)
- ✓ Set up analytics and crash reporting
- ✓ Choose appropriate versionCode and versionName
- ✓ Create and secure keystore
- ✓ Enroll in Google Play App Signing
- ✓ Set up pricing and distribution
Monetization Strategy Decision Matrix
| App Type |
User Base Size |
Recommended Strategy |
Implementation Complexity |
| Game |
Large |
In-app purchases + Ads + Subscriptions |
Medium |
| Productivity |
Small to Medium |
Paid app or Subscription |
Low |
| Content/Service |
Large |
Subscription + Ads |
Medium |
| Utility/Tool |
Small |
Paid app |
Low |
| Social/Community |
Large |
Ads + Partnerships |
High |
Common Mistakes to Avoid
- ❌ Losing your keystore: Always back up your keystore file
- ❌ Not testing thoroughly: Test signed release version on real devices
- ❌ Poor versioning strategy: Increment versionCode properly
- ❌ Ignoring user experience: Balance monetization with usability
- ❌ Not monitoring performance: Track key metrics regularly
- ❌ Overloading with ads: Too many ads hurt user retention
- ❌ Poor pricing strategy: Research market rates and user expectations
- ❌ Not updating regularly: Keep app fresh with new features/content
11. Exam Preparation Tips
- ✓ Know the publishing process: Prepare → Release → Maintain/Update
- ✓ Understand versioning: versionCode vs versionName, how to increment
- ✓ Memorize signing process: Keystore creation, signing steps
- ✓ Review Google Play requirements: App Signing, size limits, tracks
- ✓ Know monetization options: All five strategies and their use cases
- ✓ Understand AdMob metrics: Impressions, CTR, eCPM calculations
- ✓ Practice with real scenarios: Prepare a sample app for publishing
- ✓ Know subscription platform: How it works, types, benefits
- ✓ Review past papers: Look for questions about deployment and monetization
- ✓ Prepare checklist: Know all steps for successful app release
12. Summary and Key Takeaways
App Publishing Process: Requires careful preparation including signing, versioning, testing, and configuration before release.
Google Play Store: Premier marketplace with global reach, robust tools, and various release tracks for testing and production.
Versioning Strategy: Use versionCode for system comparison and versionName for user visibility. Increment properly with each release.
App Signing: Mandatory process that ensures authenticity. Create keystore, sign app, and never lose the keystore file.
Monetization Strategies: Choose based on app type, audience, and business goals. Consider user experience and market trends.
Google Play Subscriptions: Enable recurring revenue with automated billing, free trials, and flexible pricing options.
Google AdMob: Monetize through various ad formats, track performance with metrics like CTR and eCPM, and optimize for better revenue.
Best Practices: Test thoroughly, monitor performance, balance revenue with user experience, and maintain regular updates.